﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddArt.aspx.cs" Inherits="DreamCMS.Web.Admin.ArtMgr.AddArt" ValidateRequest="false" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script type="text/javascript" src="../../common/editor/ckeditor.js"></script>
    <link href="../css/style.css" rel="stylesheet" />

</head>
<body>
    <form id="form1" runat="server">
        <div class="artManage">
            <div style="margin-bottom: 20px;">
                <ul>
                    <li>
                        <span class="artspanleft">标题</span><span><input id="title" runat="server" type="text" placeholder="请输入文章标题" /></span>
                    </li>
                    <li><span class="artspanleft">别名</span><span><input id="slug" runat="server" type="text" placeholder="请输入别名用于URL友好显示" /></span></li>
                    <li><span class="artspanleft">分类</span><span>
                        <asp:DropDownList runat="server" ID="catListControl">
                        </asp:DropDownList></span></li>
                    <li><span class="artspanleft">属性</span><span>
                        <asp:CheckBox runat="server" ID="isOpen" Checked="true" Text="是否发布(不发布则保存为草稿)" CssClass="artCheckbox" />
                        <asp:CheckBox runat="server" ID="isRecommended" Checked="false" Text="推荐" CssClass="artCheckbox" />
                        <asp:CheckBox runat="server" ID="isTop" Checked="false" Text="置顶" CssClass="artCheckbox" />
                        <asp:CheckBox runat="server" ID="isHide" Checked="false" Text="隐藏" CssClass="artCheckbox" />
                    </span></li>
                    <li><span class="artspanleft">缩略图</span><span>
                        <asp:FileUpload runat="server" ID="upImage" CssClass="artShortImg" /></span>
                    </li>
                </ul>
            </div>
            <div>
                <MyCkEditor:CKEditorControl ID="postContent" runat="server" BasePath="~/common/editor" ContentsCss="~/common/editor/contents.css" CssClass="ckeditor"></MyCkEditor:CKEditorControl>
                <ul>
                    <li style="height: 200px;">
                        <span class="artspanleft" style="vertical-align: top;">摘要</span><span style="display: inline-block; padding-top: 10px;"><textarea runat="server" id="summary" name="summary" style="padding: 10px 10px; margin: 0px; width: 500px; height: 150px; display: inline;"
                            placeholder="文章摘要，120字左右"></textarea></span>
                    </li>
                    <li><span class="artspanleft">标签</span><span><input runat="server" id="tag" name="tag" type="text" placeholder="标签有利于SEO，请用英文逗号分隔" /></span></li>
                </ul>
            </div>
            <div class="saveBtnBox">
                <asp:Button runat="server" ID="save" OnClick="save_Click" Text="保存" CssClass="saveBtn" />
            </div>

        </div>

    </form>
</body>
</html>
